
import sys





# 输入main函数参数，其中main函数参数的格式是 ['1, 3, 4, 5', 1, 3]
if __name__ == '__main__':
    print(sys.argv)
    print('param 1', sys.argv[1])
    print('param 2', sys.argv[2])
    print('param 3', sys.argv[3])

    b = []
    b = sys.argv[1].split(',') 
    print(f'b: {b}')

    # 将字符中的数字转换为整数
    a = [int(i) for i in sys.argv[1].split(',')]
    print(f'a: {a}')

    print("hello world") 
    print()

